package test

func Bugs() int {
	// 有什么问题
	sum := 0
	a := []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
	for _, i := range a {
		go func() {
			sum += i
		}()
	}
	return sum
}
